//
//  LivePKBusiness.m
//  控制器解耦测试
//
//  Created by tianlong on 2018/11/8.
//  Copyright © 2018年 tianlong. All rights reserved.
//

#import "LivePKBusiness.h"

@implementation LivePKBusiness

#pragma mark - 控制器生命周期
- (void)live_viewDidLoad {
    
}

- (void)live_viewWillAppear {
    
}

- (void)live_viewDidAppear {
    
}

- (void)live_viewDidDisappear {
    
}

#pragma mark - 控制器点击返回键
- (void)didClickedBackButton:(UIButton *)button atIndex:(NSInteger)atIndex {
    if (atIndex==0) {
        NSLog(@"\n----------- \n%s_点击了取消 \n-----------",__func__);
    }
    else if (atIndex==1) {
        NSLog(@"\n----------- \n%s_点击了确定，退出当前直播间，停止并移除动画 \n-----------",__func__);
    }
}

#pragma mark - 收到 notice 或 topic
- (void)live_receivedNotice:(NSString *)msg {
    NSLog(@"\n----------- \n%s\n收到 notice = %@ \n-----------",__func__,msg);
}

- (void)live_receivedTopicNotice:(NSString *)msg {
    NSLog(@"\n----------- \n%s\n收到 topic =%@ \n-----------",__func__,msg);
}

#pragma mark - 课件展示结果页
- (void)live_showResultPage:(NSString *)url {
    NSLog(@"\n----------- \n%s\n%@ \n-----------",__func__,url);
}

@end
